<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
    <hdjs/>
    <bootstrap/>
    <style type="text/css">
        .plus_minus{
            width: 20px;
        }
    </style>
    <css file="__CONTROL_TPL__/css/css.css"/>
<!--     <js file="__CONTROL_TPL__/js/js.js"/> -->
</head>
<body>
<div class="wrap">
    <table class="table2">
        <thead>
            <tr pid=0>
                <td width="30"></td>
                <td> 商品ID</td>
                <td>商品名称</td>
                <td>商品标题</td>
                <td>商品排序</td>
                <td>所属分类</td>
                <td width="200">操作</td>
            </tr>
        </thead>
        <tbody>
            <foreach from="$goodsData" key="$k" value="$v">
                <tr pid="" cid="">
                    <td width="30"><a href="javascript:;" class="btn btn-primary btn-xs plus_minus">+</a></td>
                    <td>{$v.goodsid}</td>
                    <td>{$v.goodsname}</td>
                    <td>{$v.title}</td>
                    <td>{$v.sort}</td>
                     <td>{$v.sort}</td>
                   <!--  <td>{$catename}</td> -->
                    
                    <td width="200">
                        <a href="{|U:'Goods/edit',array('goodsid'=>$v['goodsid'])}" class="btn btn-info btn-xs">编辑</a>
                        <a href="javascript:;" class="btn btn-danger btn-xs" onclick="if(confirm('确定删除吗？')) location.href='{|U:'Goods/del',array('goodsid'=>$v['goodsid'])}'">删除</a>
                    </td>
                </tr>
            </foreach>
        </tbody>
    </table>
    <div class="page_hdjob">
        
    </div>
</div>

</body>
</html>


